/*
 *@Database linq
 *@SrcGener lava.rt.linq.sql.src.H2DataContextSrcGener
 *@CreateAt Tue Dec 28 17:05:34 CST 2021
*/ 
package lava.rt.persistence.sql.h2; 

import lava.rt.persistence.*;
import lava.rt.persistence.sql.*;

import java.util.Date; 
import java.sql.*; 


import java.io.*; 


public interface LinqDataContext extends lava.rt.persistence.DataContext{ 

	public static final long serialVersionUID=1;



	 public  class LinqAllColumn extends Entity implements Serializable {



		private static final long serialVersionUID = LinqDataContext.serialVersionUID;

		 @ColumnMeta(dataLength=10,nullable=false,comments="PK") 
 		 private Integer PK ; 
 		 @ColumnMeta(dataLength=19,nullable=true,comments="COL_BIGINT") 
 		 private Long COL_BIGINT ; 
 		 @ColumnMeta(dataLength=255,nullable=true,comments="COL_BINARY") 
 		 private Byte[] COL_BINARY ; 
 		 @ColumnMeta(dataLength=1,nullable=true,comments="COL_BIT") 
 		 private Boolean COL_BIT ; 
 		 @ColumnMeta(dataLength=2147483647,nullable=true,comments="COL_BLOB") 
 		 private Blob COL_BLOB ; 
 		 @ColumnMeta(dataLength=1,nullable=true,comments="COL_CHAR") 
 		 private String COL_CHAR ; 
 		 @ColumnMeta(dataLength=8,nullable=true,comments="COL_DATE") 
 		 private Date COL_DATE ; 
 		 @ColumnMeta(dataLength=17,nullable=true,comments="COL_FLOAT") 
 		 private Double COL_FLOAT ; 
 		 @ColumnMeta(dataLength=2147483647,nullable=true,comments="COL_GEOMETRY") 
 		 private Object COL_GEOMETRY ; 
 		 @ColumnMeta(dataLength=10,nullable=true,comments="COL_INT") 
 		 private Integer COL_INT ; 
 		 @ColumnMeta(dataLength=10,nullable=true,comments="COL_INTEGER") 
 		 private Integer COL_INTEGER ; 
 		 @ColumnMeta(dataLength=0,nullable=true,comments="COL_JSON") 
 		 private String COL_JSON ; 
 		 @ColumnMeta(dataLength=7,nullable=true,comments="COL_REAL") 
 		 private Float COL_REAL ; 
 		 @ColumnMeta(dataLength=5,nullable=true,comments="COL_SMALLINT") 
 		 private Short COL_SMALLINT ; 
 		 @ColumnMeta(dataLength=6,nullable=true,comments="COL_TIME") 
 		 private Time COL_TIME ; 
 		 @ColumnMeta(dataLength=255,nullable=true,comments="COL_VARCHAR") 
 		 private String COL_VARCHAR ; 
 
		 public Integer getPk(){ return this.PK; } 
		 public void setPk(Integer pk ){  this.PK=pk; } 
		 public Long getColBigint(){ return this.COL_BIGINT; } 
		 public void setColBigint(Long colBigint ){  this.COL_BIGINT=colBigint; } 
		 public Byte[] getColBinary(){ return this.COL_BINARY; } 
		 public void setColBinary(Byte[] colBinary ){  this.COL_BINARY=colBinary; } 
		 public Boolean getColBit(){ return this.COL_BIT; } 
		 public void setColBit(Boolean colBit ){  this.COL_BIT=colBit; } 
		 public Blob getColBlob(){ return this.COL_BLOB; } 
		 public void setColBlob(Blob colBlob ){  this.COL_BLOB=colBlob; } 
		 public String getColChar(){ return this.COL_CHAR; } 
		 public void setColChar(String colChar ){  this.COL_CHAR=colChar; } 
		 public Date getColDate(){ return this.COL_DATE; } 
		 public void setColDate(Date colDate ){  this.COL_DATE=colDate; } 
		 public Double getColFloat(){ return this.COL_FLOAT; } 
		 public void setColFloat(Double colFloat ){  this.COL_FLOAT=colFloat; } 
		 public Object getColGeometry(){ return this.COL_GEOMETRY; } 
		 public void setColGeometry(Object colGeometry ){  this.COL_GEOMETRY=colGeometry; } 
		 public Integer getColInt(){ return this.COL_INT; } 
		 public void setColInt(Integer colInt ){  this.COL_INT=colInt; } 
		 public Integer getColInteger(){ return this.COL_INTEGER; } 
		 public void setColInteger(Integer colInteger ){  this.COL_INTEGER=colInteger; } 
		 public String getColJson(){ return this.COL_JSON; } 
		 public void setColJson(String colJson ){  this.COL_JSON=colJson; } 
		 public Float getColReal(){ return this.COL_REAL; } 
		 public void setColReal(Float colReal ){  this.COL_REAL=colReal; } 
		 public Short getColSmallint(){ return this.COL_SMALLINT; } 
		 public void setColSmallint(Short colSmallint ){  this.COL_SMALLINT=colSmallint; } 
		 public Time getColTime(){ return this.COL_TIME; } 
		 public void setColTime(Time colTime ){  this.COL_TIME=colTime; } 
		 public String getColVarchar(){ return this.COL_VARCHAR; } 
		 public void setColVarchar(String colVarchar ){  this.COL_VARCHAR=colVarchar; } 


		@Override
		public Object thisPk() {return PK;}



		@Override
		public String toString() {

			StringBuilder builder = new StringBuilder("LinqAllColumn [");
			builder.append("COL_TIME=").append(COL_TIME);
			builder.append(", COL_GEOMETRY=").append(COL_GEOMETRY);
			builder.append(", COL_SMALLINT=").append(COL_SMALLINT);
			builder.append(", COL_BIT=").append(COL_BIT);
			builder.append(", COL_FLOAT=").append(COL_FLOAT);
			builder.append(", COL_BIGINT=").append(COL_BIGINT);
			builder.append(", COL_DATE=").append(COL_DATE);
			builder.append(", COL_BINARY=").append(COL_BINARY);
			builder.append(", COL_JSON=").append(COL_JSON);
			builder.append(", COL_CHAR=").append(COL_CHAR);
			builder.append(", COL_REAL=").append(COL_REAL);
			builder.append(", COL_VARCHAR=").append(COL_VARCHAR);
			builder.append(", COL_BLOB=").append(COL_BLOB);
			builder.append(", COL_INTEGER=").append(COL_INTEGER);
			builder.append(", PK=").append(PK);
			builder.append(", COL_INT=").append(COL_INT);
			builder.append("]");
			return builder.toString();
		}

		@Override
		public Class<? extends Entity> thisClass() {return LinqAllColumn.class;}

		@Override
		public void clear() {

			COL_TIME=null; 
			COL_GEOMETRY=null; 
			COL_SMALLINT=null; 
			COL_BIT=null; 
			COL_FLOAT=null; 
			COL_BIGINT=null; 
			COL_DATE=null; 
			COL_BINARY=null; 
			COL_JSON=null; 
			COL_CHAR=null; 
			COL_REAL=null; 
			COL_VARCHAR=null; 
			COL_BLOB=null; 
			COL_INTEGER=null; 
			PK=null; 
			COL_INT=null; 
		}



	 } //end LINQ_ALL_COLUMN

	public final static Criteria CRITERIA=new Criteria();

	public  static class Criteria{ 

		private Criteria() {} 

		public static final String  LinqAllColumn="LINQ_ALL_COLUMN"		; 

		public static final Column 
		colTime = new Column("COL_TIME","colTime"),
		colGeometry = new Column("COL_GEOMETRY","colGeometry"),
		colSmallint = new Column("COL_SMALLINT","colSmallint"),
		colBit = new Column("COL_BIT","colBit"),
		colFloat = new Column("COL_FLOAT","colFloat"),
		colBigint = new Column("COL_BIGINT","colBigint"),
		colDate = new Column("COL_DATE","colDate"),
		colBinary = new Column("COL_BINARY","colBinary"),
		colJson = new Column("COL_JSON","colJson"),
		colChar = new Column("COL_CHAR","colChar"),
		colReal = new Column("COL_REAL","colReal"),
		colVarchar = new Column("COL_VARCHAR","colVarchar"),
		colBlob = new Column("COL_BLOB","colBlob"),
		colInteger = new Column("COL_INTEGER","colInteger"),
		pk = new Column("PK","pk"),
		colInt = new Column("COL_INT","colInt")
		;

	} 




} //end